<template>
    <div>

        <header class="wrap">
            <i class="iconfont icon-left " @click="goBack"></i>
            <span><slot></slot></span>
            <!-- <i class="iconfont icon-More"></i> -->
        </header>
    </div>
</template>

<script>
export default {
    methods: {
        goBack() {
            this.$router.go(-1)
        }
    }
}
</script>

<style lang="scss" scoped>
@import '../../common/style/mixin';

 .icon-More{
          position: fixed;
        }
header {
    position: relative;
    // width: 100%;
    height: 88px;
    text-align: center;
    line-height: 88px;
    padding: 0 20px;
    font-size: 34px;
    background: #f7f7f7;
    z-index: 100;
    @include boxSizing;
    .iconfont {
        position: absolute;
        left: 20px;
        top: 0;
        font-size: 50px;
        font-weight: bold;
    }
}
</style>